package com.zplus.managers.petservices.entities;

import com.alibaba.fastjson2.annotation.JSONField;

public class Admin extends EntityBase
{
    @JSONField(name = "admin.name")
    private String nickName;
    @JSONField(name = "admin.realname")
    private String realName;
    private String passwd;
    private String phoneNum;
    @JSONField(name = "admin.email")
    private String email;
    private String gender;

    public int getId()
    {
        return super.getId();
    }

    public void setId(int id)
    {
        super.setId(id);
    }

    public String getNickName()
    {
        return nickName;
    }

    public void setNickName(String nickName)
    {
        this.nickName = nickName;
    }

    public String getRealName()
    {
        return realName;
    }

    public void setRealName(String realName)
    {
        this.realName = realName;
    }

    public String getPasswd()
    {
        return passwd;
    }

    public void setPasswd(String passwd)
    {
        this.passwd = passwd;
    }

    public String getPhoneNum()
    {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum)
    {
        this.phoneNum = phoneNum;
    }

    public String getEmail()
    {
        return email;
    }

    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getGender()
    {
        return gender;
    }

    public void setGender(String gender)
    {
        this.gender = gender;
    }

    public Admin(){}

    public Admin(Integer id, String nickName, String realName, String passwd, String phoneNum, String email, String gender)
    {
        super.setId(id);
        this.nickName = nickName;
        this.realName = realName;
        this.passwd = passwd;
        this.phoneNum = phoneNum;
        this.email = email;
        this.gender = gender;
    }
}
